-- card: 11653 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 3426 -- name: Lion ----- HyperTalk script ----- on openCard global score subtract 5 from score if score <= 0 then visual effect scroll up go card "end" end if put score into field "scorebox" end openCard on mouseUp get field "textarea" of card "Mountain Trail" put it&return&"The hungry lion" into field "textarea" of card "Mountain Trail" get field "textarea" of card "Mountain Trail" put it&return&"Shoot the lion" into field "textarea" of card "Mountain Trail" get field "textarea" of card "River Trail" put it into holder put the number of lines in field "textarea" of card "River Trail" into counter repeat until counter = 0 get line counter of holder if it contains "Monkeys" then delete line counter of field "textarea" of card "River Trail" put 1 into counter end if subtract 1 from counter end repeat get field "textarea" of card "River Trail" put it into holder put the number of lines in field "textarea" of card "River Trail" into counter repeat until counter = 0 get line counter of holder if it contains "Water snakes" then delete line counter of field "textarea" of card "River Trail" put 1 into counter end if subtract 1 from counter end repeat visual effect dissolve go to card "River Trail" end mouseUp -- part contents for background part 1 ----- text ----- Lion -- part contents for background part 2 ----- text ----- At a bend in the trail you come face to face with a lion. A hungry lion. Quickly you toss your piece of dried liver at him and climb a nearby tree. He goes for the liver, wrinkles his nose in disgust and saunters off into the woods. Two hours later you decide it's safe to leave the tree. -- part contents for background part 5 ----- text ----- 60